home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1072 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.1 KB

  1. Subject: Re: Inquiring cttys
  2. Date: Fri, 18 Feb 94 22:30:50 CET
  3. From: Juergen Lock <nox@jelal.north.de>
  4. In-Reply-To: <9402151028.AA11871@issan.informatik.uni-dortmund.de>; from "Andreas Schwab" at Feb 15, 94 11:28 am
  5. Message-Id: <9402182130.AA00105@jelal.north.de>
  6.  
  7. Andreas Schwab writes:
  8.  
  9. > Juergen Lock <nox@jelal.north.de> writes:
  10. > |>     volatile struct stat sb;
  11. > |>     *(short *)&sb = fd;    /* -1 for /dev/tty */
  12. > |>     if (r = Fcntl(procf, &sb, PFSTAT))
  13. > |>         error ...
  14. > |>     find device...
  15. > |> (volatile seems necessary because of the gcc Fcntl binding(?), can this be
  16. > |> fixed?)
  17. > This should not be necessary with newer gcc's, where the pseudo
  18. > register "memory" can be specified as being clobbered in the asm spec.
  19. > I think this is taken care of in the current MiNTlibs.
  20.  
  21.  just checked, the "memory" is there, apparently gcc 2.3.3pl2 silently
  22. ignored it...  (sorry not tried 2.5.8 yet.)
  23. > Andreas.
  24.  *shrug*
  25.     Juergen
  26. -- 
  27. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  28.                                 ...ohne Gewehr
  29. PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  30.